package com.diploma.project.aiqiyi.common.annotation;


import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @see org.springframework.cloud.openfeign.AnnotatedParameterProcessor
 */
@Target({ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ParamQueryMap {

    /**
     * Alias for {@link #encoded()}.
     *
     * @see feign.QueryMap#encoded()
     */
    @AliasFor("encoded")
    boolean value() default false;

    /**
     * Specifies whether parameter names and values are already encoded.
     *
     * @see feign.QueryMap#encoded()
     */
    @AliasFor("value")
    boolean encoded() default false;

}
